<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Google App Engine: SCAF - GRUPO NoSQL</title>
 

<link href="http://www.gstatic.com/codesite/ph/17444577587916266307/css/ph_core.css" rel="stylesheet" type="text/css" />
 <link href="http://code.google.com/css/codesite.pack.04102009.css" rel="stylesheet" type="text/css" />
  <script language="javascript" src='script/jquery-1.6.min.js'></script>
  <script language="javascript" src='script/ajax.util.js'></script>
</head>

<body>
   
  <!-- content -->  
  <div  id="gc-pagecontent" >
  <h1 class="page_title">SCAF - GRUPO NoSQL</h1>
  
 <!-- tabs --> 
 <div id="tabs" class="gtb">
	  <a id="cliente" href="#cliente" class="tab">Cliente</a> 
	  <a id="transacao" href="#transacao" class="tab">Transacao</a>
	  <a id="fraude" href="#fraude" class="tab">Fraude</a>
	  <div class="gtbc"></div>
  </div>
  
  <!-- ******************************************* Cliente ******************************************* -->
  <div class="g-unit" id="cliente-tab">
  <div class="message" id="cliente-show-message" style="display:none">
  </div>
  <!-- search container -->
   	<div class="gsc-search-box" id="cliente-search-ctr">
   	<!-- section title -->
   	<h2>All Clientes</h2>
   	<form name="cliente-search-form" id="cliente-search-form">
   	<label>Name</label>
   	 		<input type="text" name="q" id="q" class="gsc-input"/> 
   	 		<select id="by" name="cliente-searchby" class="gsc-input">
	   	       <option value="cliente_name">cliente_name</option>
            </select> 
	   	    <input type="button" value="Search" onclick="search('cliente')" class="gsc-search-button" />
            <input type="button" value="Add" onclick="add('cliente')" class="gsc-search-button" />
            <input type="reset" id="cliente-search-reset" class="cancel" title="Reset" value="Reset" style="visibility: hidden"/>
    </form>
   	</div>
   <!-- list container -->
   	<div class="results" style="border:0;" id="cliente-list-ctr">
          <table width="100%" cellspacing="0" cellpadding="2" border="0" style="border-collapse:collapse;">
            <thead>
              <tr>
              <th scope="col">Cliente ID</th>
                <th scope="col">Name</th>
                <th scope="col">First Name</th>
                <th scope="col">Last Name</th>
                <th scope="col">Phone</th>
                <th scope="col">CPF</th>
                <th scope="col">Email</th>
                <th scope="col">Localidade ID</th>
                <th scope="col">Action</th>                      
              </tr>
            </thead>
            <tbody id="cliente-list-tbody"></tbody>
          </table>
  	</div>
  </div>
   
   
   <!-- ******************************************* transacao ******************************************* -->
  <div class="message" id="transacao-show-message" style="display:none">
  </div>
  <div class="g-unit" id="transacao-tab">
	   <!-- search container -->
	   	<div class="gsc-search-box" id="transacao-search-ctr">
	   	<!-- section title -->
	   	<h2>All Transacoes</h2>
	   	<form name="transacao-search-form" id="transacao-search-form">
	   	    <input type="text" name="q" id="q" class="gsc-input"/> 
	   	    <select id="by" name="transacao-searchby" class="gsc-input">
	   	       <option value="trans_id">trans_id</option>
	   	       <option value="midia_number">midia_number</option>
	   	       <option value="cliente_name">cliente_name</option>
	   	       <option value="localidade_id">localidade_id</option>
            </select> 
            <input type="button" value="Search" onclick="search('transacao')" class="gsc-search-button" />
            <input type="button" value="Add" onclick="add('transacao')" class="gsc-search-button" />
            <input type="reset" id="transacao-search-reset" class="cancel" title="Reset" value="Reset" style="visibility: hidden"/>
          </form>  
	   	</div>
	   <!-- list container -->
	   	<div class="results" style="border:0;" id="transacao-list-ctr">
           <table width="100%" cellspacing="0" cellpadding="2" border="0" style="border-collapse:collapse;">
             <thead>
               <tr>
                 <th scope="col">Transacao ID</th>
                 <th scope="col">Transacao Type</th>
                 <th scope="col">Transacao Price</th>
                 <th scope="col">Transacao Data</th>
                 <th scope="col">Transacao Hora</th>
                 <th scope="col">Estabelecimento ID</th>
                 <th scope="col">Cliente ID</th>
                 <th scope="col">Midia ID</th>
                 <th scope="col">Localidade ID</th>     
                 <th scope="col">Action</th>                   
               </tr>
             </thead>
             <tbody id="transacao-list-tbody"></tbody>
           </table>
	  	</div>
  </div>
  
    <!-- ******************************************* fraude ******************************************* -->
  <div class="message" id="fraude-show-message" style="display:none">
  </div>
  <div class="g-unit" id="fraude-tab">
	   <!-- search container -->
	   	<div class="gsc-search-box" id="fraude-search-ctr">
	   	<!-- section title -->
	   	<h2>All Fraudes</h2>
	   	<form name="fraude-search-form" id="fraude-search-form">
	   	   <input type="text" name="q" id="q" class="gsc-input"/> 
              <select id="by" name="fraude-searchby" class="gsc-input">
	   	       <option value="cliente_name">cliente_name</option>
            </select> 
            <input type="button" value="Search" onclick="search('fraude')" class="gsc-search-button" />
            <input type="button" value="Add" onclick="add('fraude')" class="gsc-search-button" />
            <input type="reset" id="fraude-search-reset" class="cancel" title="Reset" value="Reset" style="visibility: hidden"/>
          </form>  
	   	</div>
	   <!-- list container -->
	   	<div class="results" style="border:0;" id="fraude-list-ctr">
           <table width="100%" cellspacing="0" cellpadding="2" border="0" style="border-collapse:collapse;">
             <thead>
               <tr>
               	 <th scope="col">Fraude ID</th>
                 <th scope="col">Fraude Name</th>
                 <th scope="col">Fraude Type</th>
                 <th scope="col">Forma Deteccao</th>
                 <th scope="col">Data Deteccao</th>
                 <th scope="col">Transacao ID</th>  
                 <th scope="col">Action</th>                    
               </tr>
             </thead>
             <tbody id="fraude-list-tbody"></tbody>
           </table>
	  	</div>

  </div>
  
 
<script type="text/javascript">

 $(window).load(function () {
   init();
});

</script>
</body>
</html>
